package com.lanou3g.ptp.role_teacher.mapper;

import com.lanou3g.ptp.entity.RoleTeacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleTeacherMapper {
    void addRoleTeacher(RoleTeacher roleTeacher);

    void deleteById(Long id);

    void deleteByIds(Integer[] ids);

    void updateById(RoleTeacher roleTeacher);

    RoleTeacher findById(Long id);

    List<RoleTeacher> findAll();

    List<RoleTeacher> findByRoleId(Long roleId);
}
